import jsonschema

# data = [1,2,3]
# schema = {"type" : "array"}
# data = 12222
# schema = {"type" : "integer"}
# data = 143.324
# schema = {"type" : "number"}
# data = None
# schema = {"type" : "null"}
# data = True
# schema = {"type": "boolean"}
data = "13qtegsxbcfrqwhendgfbe2ty53efdbc"
schema = {"type" : "string"}


res = jsonschema.validate(instance=data, schema=schema)
print("res=", res)